package com.webbei.Backstage.action;

import java.util.List;

import com.webbei.Backstage.service.BackstateSer;
import com.webbei.pojo.Label;

public class getLabelByProductIdAction {
	
			private BackstateSer bao;
			private int productId;
			private List<Label> labels;
			public String execute(){
				System.out.println("sssssssqwqwff");
				labels=bao.getLabelIdByProductId(productId);
				return "success";
			}
			
			public int getProductId() {
				return productId;
			}

			public void setProductId(int productId) {
				this.productId = productId;
			}

			public void setBao(BackstateSer bao) {
				this.bao = bao;
			}

			public List<Label> getLabels() {
				return labels;
			}

			public void setLabels(List<Label> labels) {
				this.labels = labels;
			}
			
			
}
